<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="/style/css/ch-ui.admin.css">
    <link rel="stylesheet" href="/style/font/css/font-awesome.min.css">
</head>
<body>
<!--面包屑导航 开始-->
<div class="crumb_warp">
    <!--<i class="fa fa-bell"></i> 欢迎使用登陆网站后台，建站的首选工具。-->
    <i class="fa fa-home"></i> <a href="/">首页</a> &raquo; <a href="#">考勤管理</a> &raquo; 考勤列表
</div>
<!--面包屑导航 结束-->

<!--搜索结果页面 列表 开始-->
<form id="form" action="#" method="post">
    <div class="result_wrap">
        <div class="result_content">
            <table class="list_tab">
                <thead>
                <tr>
                    <th>姓名</th>
                    <th>职位</th>
                    <th>日期</th>
                    <th>上班打卡时间</th>
                    <th>下班打卡时间</th>
                </tr>
                </thead>

                <tbody th:if="${#lists.size(attences) gt 0}">
                <th:block th:each="attence,index:${attences}">
                    <tr>
                        <td th:text="${attence.name}"></td>
                        <td th:text="${attence.deptName}"></td>
                        <td th:text="${attence.date}"></td>
                        <td th:text="${#dates.format(attence.atime,'yyyy-MM-dd HH:mm')}"></td>
                        <th th:text="${attence.ltime == null ? '无':#dates.format(attence.ltime,'yyyy-MM-dd HH:mm')}"></th>


                    </tr>
                </th:block>
                </tbody>
            </table>
            <div class="page_nav">
                <div id="page" style="margin: 0 auto;text-align: center;width: 50%">
                </div>
            </div>
        </div>
    </div>
</form>
<!--搜索结果页面 列表 结束-->

<script type="text/javascript" src="/style/js/jquery.js"></script>
<script type="text/javascript" src="/style/js/ch-ui.admin.js"></script>
</body>
</html>